<template>
	<view class="zi-xun" @click="goPhone">
		<image :src="zixun" mode="aspectFill"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				zixun: 'https://yi.qj361.com/20210906142707_zixun.png'
			}
		},
		methods: {
			goPhone() {
				uni.makePhoneCall({
					phoneNumber: '400-073-0806',
					success: res => {
						console.log(res)
					},
					fail: err => {
						console.log(err)
					}
				})
			}
		}
	}
</script>

<style>
	.zi-xun {
		position: fixed;
		right: 48rpx;
		bottom: 120rpx;
		display: flex;
		z-index: 4;
	}
	.zi-xun image {
		width: 80rpx;
		height: 80rpx;
	}
</style>
